package com.yulebaby.callsenter.bean;

import com.yulebaby.callsenter.ui.base.BaseBean;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

/**
 * Author: Zhangbo
 * Time: 2017/1/13
 */
public class TrackStepBean extends BaseBean {
    private static List<String> stringList = Arrays.asList("","确认客户意向", "客户明确表述需求", "已阅览资料或参观店面", "明确知晓项目优势", "客户到访", "已签约商铺", "签合同并打款到账");
    private static List<Integer> intList = Arrays.asList(0, 1, 2, 3, 4, 5, 6, 7);

    public static List<TrackStepBean> getStepList() {
        List<TrackStepBean> list = new ArrayList<>();
        for (int i = 0; i < intList.size(); i++) {
            list.add(new TrackStepBean(0, intList.get(i), stringList.get(i), 0));
        }
        return list;
    }

    /**
     * 0: 没有被选中 1: 被选中 2:曾经选中已经
     */
    private int isSelected;
    private int trackNum;
    private String trackStep;
    private int fileCount;

    public TrackStepBean(int isSelected, int trackNum, String trackStep, int fileCount) {
        this.isSelected = isSelected;
        this.trackNum = trackNum;
        this.trackStep = trackStep;
        this.fileCount = fileCount;
    }

    public static List<String> getStringList() {
        return stringList;
    }

    public static void setStringList(List<String> stringList) {
        TrackStepBean.stringList = stringList;
    }

    public static List<Integer> getIntList() {
        return intList;
    }

    public static void setIntList(List<Integer> intList) {
        TrackStepBean.intList = intList;
    }

    public int getIsSelected() {
        return isSelected;
    }

    public void setIsSelected(int isSelected) {
        this.isSelected = isSelected;
    }

    public int getTrackNum() {
        return trackNum;
    }

    public void setTrackNum(int trackNum) {
        this.trackNum = trackNum;
    }

    public String getTrackStep() {
        return trackStep;
    }

    public void setTrackStep(String trackStep) {
        this.trackStep = trackStep;
    }

    public int getFileCount() {
        return fileCount;
    }

    public void setFileCount(int fileCount) {
        this.fileCount = fileCount;
    }
}
